import {PaginationType} from '@/type/paginationType'

export type SystemRoleListQueryFormType = {
  roleName: string
  status: number
}


export type SystemRoleListQueryType = {
  data: SystemRoleListQueryFormType
} & PaginationType


export type SystemRoleAddType = {
  roleCode: string
} & SystemRoleListQueryFormType

export type SystemRoleIdType = {
  id: number
}

export type SystemRoleUpdateType = SystemRoleIdType & SystemRoleAddType


export type SystemRoleListItemType = {
  create_time: string
  id: number
  role_code: string
  role_name: string
  status: number
  update_time: string
}
